package cn.ibizlab.odoo.core.odoo_web_editor.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_web_editor.domain.Web_editor_converter_test_sub;
import cn.ibizlab.odoo.core.odoo_web_editor.filter.Web_editor_converter_test_subSearchContext;

/**
 * 实体[Web_editor_converter_test_sub] 服务对象接口
 */

public interface IWeb_editor_converter_test_subService{
     void createBatch(List<Web_editor_converter_test_sub> web_editor_converter_test_subs, int batchSize) ;
     boolean update(Web_editor_converter_test_sub web_editor_converter_test_sub) ;
     Web_editor_converter_test_sub get(Integer id) ;
     Web_editor_converter_test_sub get(Web_editor_converter_test_sub web_editor_converter_test_sub) ;
     boolean create(Web_editor_converter_test_sub web_editor_converter_test_sub) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void updateBatch(List<Web_editor_converter_test_sub> web_editor_converter_test_subs, int batchSize) ;
     boolean remove(Integer id) ;

    /**
     * 查询集合 默认查询
     */
    Page<Web_editor_converter_test_sub> searchDefault(Web_editor_converter_test_subSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Web_editor_converter_test_sub> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Web_editor_converter_test_sub> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Web_editor_converter_test_sub convert2Domain(cn.ibizlab.odoo.core.client.model.Iweb_editor_converter_test_sub model ,Web_editor_converter_test_sub domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iweb_editor_converter_test_sub convert2Model(Web_editor_converter_test_sub domain , cn.ibizlab.odoo.core.client.model.Iweb_editor_converter_test_sub model);

}
